package com.lagou.edu.service;

public interface LagouAuthCodeService {

    /**
     * 获取验证码
     * @param email
     * @return
     */
    boolean create(String email);


    /**
     * 验证验证码
     * @param email
     * @param code
     * @return
     */
    Integer validate(String email, String code);
}
